package com.weixinli.biz.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.weixinli.beans.UserReply;
import com.weixinli.biz.IUserReplyBiz;
import com.weixinli.dao.IUserReplyDao;

@Scope("prototype")
@Service("iUserReplyBiz")
public class UserReplyBizImpl implements IUserReplyBiz {
	@Resource(name="iUserReplyDao")
	private IUserReplyDao userReplyDao;
	
	public int addUserReply(UserReply ur) {
		return userReplyDao.addUserReply(ur);
	}

	public int delUserReply(Integer rid) {
		return 0;
	}

	public List<UserReply> getOneReply(Integer cid, Integer w_uid) {
		return null;
	}

	public List<UserReply> getAllReply() {
		return userReplyDao.getAllReply();
	}

}
